<!-- 组件结构 -->
<template>
    <div>
        <img src="../assets/logo.png" alt="">
        <h1>GUGU,this is {{msg}}</h1>
        <hr />
        <h1 @click="showName">学校名称：{{name}}</h1>
        <h1 @click="showAdress">学校地址：{{adress}}</h1>
       
    </div>
</template>

<script>
    import mixin from '../mixin'
    export default {
        name:'Student',
        data(){
            return{
                msg:'Welcome to the world of Vue',
                name: '张三',
                adress:'张三家'
            }
        },
       mixins:[mixin],
       mounted() {
           console.log('husahdu');
       },
    }
</script>

